using System;

namespace Integrity
{
  [Flags]
  public enum RelationKind
  {
    OneTo = 0x1,
    ManyTo = 0x2,
    ToOne = 0x4,
    ToMany = 0x8,

    OneToOne = OneTo | ToOne,
    OneToMany = OneTo | ToMany,
    ManyToOne = ManyTo | ToOne,
    ManyToMany = ManyTo | ToMany,

    Collection = ManyTo,
  }
}